package cn.com.entity;

import java.io.Serializable;

public class Doctor implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	//创建医生类
	private int doctorid;    
	private String doctorname; //医生用户名
	private String doctorpwd;    //医生密码
	private String doctorrealname; //医生姓名
	private String doctorsex;   //医生性别
	private String doctorphone;   //医生联系方式
	private String doctorworktime;  //医生坐诊时间
	private String doctorprofile;   //医生的简介
	private String doctordesignation;  //医生职称
	private int departmentsid;   //所属科室
	public int getDoctorid() {
		return doctorid;
	}
	public void setDoctorid(int doctorid) {
		this.doctorid = doctorid;
	}
	public String getDoctorname() {
		return doctorname;
	}
	public void setDoctorname(String doctorname) {
		this.doctorname = doctorname;
	}
	public String getDoctorpwd() {
		return doctorpwd;
	}
	public void setDoctorpwd(String doctorpwd) {
		this.doctorpwd = doctorpwd;
	}
	public String getDoctorrealname() {
		return doctorrealname;
	}
	public void setDoctorrealname(String doctorrealname) {
		this.doctorrealname = doctorrealname;
	}
	public String getDoctorsex() {
		return doctorsex;
	}
	public void setDoctorsex(String doctorsex) {
		this.doctorsex = doctorsex;
	}
	public String getDoctorphone() {
		return doctorphone;
	}
	public void setDoctorphone(String doctorphone) {
		this.doctorphone = doctorphone;
	}
	public String getDoctorworktime() {
		return doctorworktime;
	}
	public void setDoctorworktime(String doctorworktime) {
		this.doctorworktime = doctorworktime;
	}
	public String getDoctorprofile() {
		return doctorprofile;
	}
	public void setDoctorprofile(String doctorprofile) {
		this.doctorprofile = doctorprofile;
	}
	public String getDoctordesignation() {
		return doctordesignation;
	}
	public void setDoctordesignation(String doctordesignation) {
		this.doctordesignation = doctordesignation;
	}
	public int getDepartmentsid() {
		return departmentsid;
	}
	public void setDepartmentsid(int departmentsid) {
		this.departmentsid = departmentsid;
	}
	public Doctor(int doctorid, String doctorname, String doctorpwd,
			String doctorrealname, String doctorsex, String doctorphone,
			String doctorworktime, String doctorprofile,
			String doctordesignation, int departmentsid) {
		super();
		this.doctorid = doctorid;
		this.doctorname = doctorname;
		this.doctorpwd = doctorpwd;
		this.doctorrealname = doctorrealname;
		this.doctorsex = doctorsex;
		this.doctorphone = doctorphone;
		this.doctorworktime = doctorworktime;
		this.doctorprofile = doctorprofile;
		this.doctordesignation = doctordesignation;
		this.departmentsid = departmentsid;
	}
	public Doctor() {
		super();
	}
	public Doctor(String doctorname, String doctorpwd, String doctorrealname,
			String doctorsex, String doctorphone, String doctorworktime,
			String doctorprofile, String doctordesignation, int departmentsid) {
		super();
		this.doctorname = doctorname;
		this.doctorpwd = doctorpwd;
		this.doctorrealname = doctorrealname;
		this.doctorsex = doctorsex;
		this.doctorphone = doctorphone;
		this.doctorworktime = doctorworktime;
		this.doctorprofile = doctorprofile;
		this.doctordesignation = doctordesignation;
		this.departmentsid = departmentsid;
	}
	public Doctor(int doctorid) {
		super();
		this.doctorid = doctorid;
	}
	
	
	
}
